__author__ = "Alexandre Lessard"
__copyright__ = "Copyright 2011, Alexandre Lessard"
__credits__ = ["Alexandre Lessard"]
__license__ = "BSD"
__version__ = "0.0.1"
__maintainer__ = "Alexandre Lessard"
__email__ = "alexandre.lessard.ti@gmail.com"
__status__ = "Prototype"

"""Controller module for the module section
pages of the website"""

#Import system
from simpleAppsSME import app
import simpleAppsSME.modules.base_controller as bctl

class Modules(bctl.BaseController):
    """Modules controller class"""
    
    def index(self, module_id):
        """Page that list all contacts"""
        moduleModel = app.factory.model('modules')
        
        return moduleModel.get_all() 